# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

inherit gnome2

IUSE=""
DESCRIPTION="AutoScan is an application designed to explore and to manage your network. Entire subnets can be scanned simultaneously without human intervention."
HOMEPAGE="http://autoscan.free.fr/"

MY_P="AutoScan.${PV}_R1"
SRC_URI="http://autoscan.free.fr/${MY_P}.tar.gz"
LICENSE="GPL-2"
S="${WORKDIR}/AutoScan-${PV}_R1"
SLOT="0"
KEYWORDS="~x86 ~amd64"
RESTRICT="nomirror"

RDEPEND="net-analyzer/net-snmp"

MAKE_DESTDIR=1

src_install() {
	sed -ie "s:\/usr:\$\{DESTDIR\}usr" < Makefile 
	gnome2_src_install
}
